package com.feib.soeasy.dao;

import java.util.List;

import com.feib.soeasy.model.MenuItem;
import com.feib.soeasy.pagination.PaginatedList;

/**
 * @title (#)MenuItemDao.java<br>
 * @description <br>
 * @author Anson Tsai<br>
 * @version 1.0.0 2010/11/25
 * @copyright Far Eastern International Bank Copyright (c) 2010<br>
 * @2010/12/4 create by Anson Tsai<br>
 */
public interface MenuItemDao extends HibernateDao<MenuItem, Long> {

    public List<MenuItem> findAllOrderMenuId();
    
    public List<MenuItem> findSchoolOrderMenuId();
    
    public List<MenuItem> findCommitteeOrderMenuId();

    public PaginatedList<MenuItem> queryPaginationByConditions(String menuType, String menuId, String actionName, PaginatedList<MenuItem> paginationConfig);
    
    public List<MenuItem> findParentMenuItem();
    
    public List<MenuItem> findAllMenuItemLazyRoles();

    /**
     * 取得帳單業者ADMIN可使用的MENU
     * @return
     */
    public List<MenuItem> getNoneBankAdminMenu();
}
